/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.me.stepapp.persistence;

public class Location {

    public static final int _ID=0;
    public static final int TIMESTAMP_ID=1;
    public static final int LATITUDE_ID=2;
    public static final int LONGITUDE_ID=3;

    
    public static final String KEY_ROWID = "_id";
    public static final String KEY_TIMESTAMP = "timestamp";
    public static final String KEY_LATITUDE = "lattitude";
    public static final String KEY_LONGITUDE = "longitude";


    public static final String[] specification = new String[] {
        Location.KEY_ROWID,
        Location.KEY_TIMESTAMP,
        Location.KEY_LATITUDE,
        Location.KEY_LONGITUDE
    };

    public Location()
    {
        this.timestamp = "timestamp";
        this.latitude = "lattitude";
        this.longitude = "longitude";
    }

    public Location( String timestamp, String latitude, String longitude )
    {
        this.timestamp = "timestamp";
        this.latitude = "latitude";
        this.longitude = "longitude";
    }

    public void set(String timestamp, String lattitude, String longitude )
    {
        this.timestamp = "timestamp";
        this.latitude = "latitude";
        this.longitude = "longitude";
    }


    private String timestamp;
    private String latitude;
    private String longitude;

    int id;

    public void setId( int id ) { this.id=id; }
    public int getId() { return this.id; }

    /**
     * @return the task
     */
    public String getTimestamp() {
        return timestamp;
    }

    /**
     * @param isbn the task to set
     */
    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    /**
     * @return the latitude
     */
    public String getLatitude() {
        return latitude;
    }

    /**
     * @param lattitude to set
     */
    public void setLattitude(String latitude) {
        this.latitude = latitude;
    }

    /**
     * @return the longitude
     */
    public String getLongitude() {
        return longitude;
    }

}
